package org.jackysoft.util;


public enum SecurityGrade {
    非密,内部,秘密,机密,绝密;
    public static String getOptions(boolean orival){
     	String opts = "";
     	for(SecurityGrade c :SecurityGrade.values()){
     		opts+=String.format("<option value='%s'>%s</option>",
    				orival?c.ordinal():c.name(),
    				
    				c.name());
     	    		
     	}
     	return opts;
     	
     }
}
